<style include="app-management-shared-style">
  :host {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }

  :host(:not([disabled_])) {
    cursor: pointer;
  }

  :host(:not([available_])) {
    display: none;
  }
</style>
<!-- permission-item does not include any icon-set, so containing
  elements should import the icon-set needed for the specified |icon|. -->
<template is="dom-if" if="[[available_]]">
  <app-management-toggle-row
      id="toggle-row"
      icon="[[icon]]"
      label="[[permissionLabel]]"
      managed="[[isManaged_(app, permissionType)]]"
      value="[[getValue_(app, permissionType)]]"
      aria-description="Click to toggle [[permissionLabel]] permissions."
      i18n-aria-descrirption="Label for toggle button to change [[permissionLabel]] permissions.">
  </app-management-toggle-row>
</template>
